package com.gimi.cloud.jimi.entity.product;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 商品说明保障实体类
 * @auther loongs
 * @date 2018/1/29  14:40
 */
@Table(name = "ec_security_instructions")
public class SecurityInstructionsEntity {

    @Id
    @Column(name = "id")
    private Integer id;
    /**
     * 说明类别,1->买断须知,2->售后无忧,3->收货须知,4-->其他
     */
    @Column(name = "type")
    private Integer type;
    /**
     * 位置序号
     */
    @Column(name = "sort")
    private Integer sort;
    /**
     * 标题
     */
    @Column(name = "title")
    private String title;
    /**
     * 内容
     */
    @Column(name = "coment")
    private String coment;
    /**
     * 图片链接
     */
    @Column(name = "img_url")
    private String imgUrl;
    /**
     * 商品有关字段（预留）
     */
    @Column(name = "prod_id")
    private String prodId;

    /**
     * 添加人
     */
    @Column(name = "add_uid")
    private Integer addUid;

    /**
     * 添加人名称
     */
    @Column(name = "add_uname")
    private String addUname;

    /**
     * 添加时间
     */
    @Column(name = "add_time")
    private Date addTime;

    /**
     * 更新人
     */
    @Column(name = "update_uid")
    private Integer updateUid;

    /**
     * 更新人名称
     */
    @Column(name = "update_uname")
    private String updateUname;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private Date updateTime;

    public Integer getAddUid() {
        return addUid;
    }

    public void setAddUid(Integer addUid) {
        this.addUid = addUid;
    }

    public String getAddUname() {
        return addUname;
    }

    public void setAddUname(String addUname) {
        this.addUname = addUname;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getUpdateUid() {
        return updateUid;
    }

    public void setUpdateUid(Integer updateUid) {
        this.updateUid = updateUid;
    }

    public String getUpdateUname() {
        return updateUname;
    }

    public void setUpdateUname(String updateUname) {
        this.updateUname = updateUname;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getComent() {
        return coment;
    }

    public void setComent(String coment) {
        this.coment = coment;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getProdId() {
        return prodId;
    }

    public void setProdId(String prodId) {
        this.prodId = prodId;
    }
}
